package com.shizhanzhe.zxbapp.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by YJ on 2018/11/8.
 */
public class ScreenTaskBean implements Serializable {

    /**
     * data : {"taskid":13,"type":2,"tname":"云闪付","tcontent":"1.点击下方链接进入。\nhttps://wallet.95516.com/s/wl/webV3/activity/yhtzctoc/html/snsIndex.html?code=ctoc00000000211&r=00000000211\n2.用户点击链接后，输入是手机号点击拆红包，点击获取验证码，提交然后点击\u201c下载云闪付APP\u201d下载。\n \n3. 打开云闪付APP，用刚才注册的新用户手机号登录云闪付界面，进行实名以及帮银行卡操作。\n\n4. 玩家绑卡完成后需要用云闪付APP扫描下方二维码，并支付1分钱，才算一个合格云闪付新人。 \n提交：必须姓名+手机号","examplepic":"/static/admin/uploads/usertask/20181225/36b9b9ac845d35ef6ae2c2e2419c8620.png,/static/admin/uploads/usertask/20181225/7ec091367d2e97918c238dc9ea1a0fcc.png,/static/admin/uploads/usertask/20181225/51d806e3a40e844b687bb1bf58003b71.png,/static/admin/uploads/usertask/20181225/6ad4b5ee68df681aa0c228b039e974df.png,/static/admin/uploads/usertask/20181225/58cf114048ddd27cc2e4410d77de8213.png,/static/admin/uploads/usertask/20181225/911768bcfb9feef380147921cbcde9e5.png","total":500,"dan":"10.00","addtime":1545737180,"uid":10001,"runtime":1548329180,"ynum":0,"top":0,"status":1,"checktime":1545737280,"scon":"0","isvip":0,"fromtype":1}
     * step : [{"id":4,"taskid":13,"description":"测试步骤","imgs":"/static/admin/uploads/usertask/20181226/ad96b1ecd47eacdb28bacffec51638bc.jpg,/static/admin/uploads/usertask/20181226/084f908f9f4c6d75c7d8656cfa467823.jpg","order":1},{"id":5,"taskid":13,"description":"测试第二步","imgs":"/static/admin/uploads/usertask/20181226/7cd2373ccaa893350e932e14b90b826e.jpg,/static/admin/uploads/usertask/20181226/d9f4cc6ae3116cf0947ba501d7560dd6.jpg","order":2}]
     * num : 498
     * jin : 9
     * status : 5
     */

    private DataBean data;
    private int num;
    private double jin;
    private int status;
    private List<StepBean> step;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public double getJin() {
        return jin;
    }

    public void setJin(double jin) {
        this.jin = jin;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public List<StepBean> getStep() {
        return step;
    }

    public void setStep(List<StepBean> step) {
        this.step = step;
    }
    public ScreenTaskBean(DataBean data, int num, double jin) {
        this.data = data;
        this.num = num;
        this.jin = jin;
    }
    public static class DataBean implements Serializable{
        /**
         * taskid : 13
         * type : 2
         * tname : 云闪付
         * tcontent : 1.点击下方链接进入。
         https://wallet.95516.com/s/wl/webV3/activity/yhtzctoc/html/snsIndex.html?code=ctoc00000000211&r=00000000211
         2.用户点击链接后，输入是手机号点击拆红包，点击获取验证码，提交然后点击“下载云闪付APP”下载。

         3. 打开云闪付APP，用刚才注册的新用户手机号登录云闪付界面，进行实名以及帮银行卡操作。

         4. 玩家绑卡完成后需要用云闪付APP扫描下方二维码，并支付1分钱，才算一个合格云闪付新人。
         提交：必须姓名+手机号
         * examplepic : /static/admin/uploads/usertask/20181225/36b9b9ac845d35ef6ae2c2e2419c8620.png,/static/admin/uploads/usertask/20181225/7ec091367d2e97918c238dc9ea1a0fcc.png,/static/admin/uploads/usertask/20181225/51d806e3a40e844b687bb1bf58003b71.png,/static/admin/uploads/usertask/20181225/6ad4b5ee68df681aa0c228b039e974df.png,/static/admin/uploads/usertask/20181225/58cf114048ddd27cc2e4410d77de8213.png,/static/admin/uploads/usertask/20181225/911768bcfb9feef380147921cbcde9e5.png
         * total : 500
         * dan : 10.00
         * addtime : 1545737180
         * uid : 10001
         * runtime : 1548329180
         * ynum : 0
         * top : 0
         * status : 1
         * checktime : 1545737280
         * scon : 0
         * isvip : 0
         * fromtype : 1
         */

        private int taskid;
        private int type;
        private String tname;
        private String tcontent;
        private String examplepic;
        private String icon;
        private int total;
        private String dan;
        private int addtime;
        private int uid;
        private int runtime;
        private int ynum;
        private int top;
        private int status;
        private int checktime;
        private String scon;
        private int isvip;
        private int fromtype;

        public DataBean(int taskid, String tname, int runtime, int isvip) {
            this.taskid = taskid;
            this.tname = tname;
            this.runtime = runtime;
            this.isvip = isvip;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public int getTaskid() {
            return taskid;
        }

        public void setTaskid(int taskid) {
            this.taskid = taskid;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getTname() {
            return tname;
        }

        public void setTname(String tname) {
            this.tname = tname;
        }

        public String getTcontent() {
            return tcontent;
        }

        public void setTcontent(String tcontent) {
            this.tcontent = tcontent;
        }

        public String getExamplepic() {
            return examplepic;
        }

        public void setExamplepic(String examplepic) {
            this.examplepic = examplepic;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public String getDan() {
            return dan;
        }

        public void setDan(String dan) {
            this.dan = dan;
        }

        public int getAddtime() {
            return addtime;
        }

        public void setAddtime(int addtime) {
            this.addtime = addtime;
        }

        public int getUid() {
            return uid;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public int getRuntime() {
            return runtime;
        }

        public void setRuntime(int runtime) {
            this.runtime = runtime;
        }

        public int getYnum() {
            return ynum;
        }

        public void setYnum(int ynum) {
            this.ynum = ynum;
        }

        public int getTop() {
            return top;
        }

        public void setTop(int top) {
            this.top = top;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getChecktime() {
            return checktime;
        }

        public void setChecktime(int checktime) {
            this.checktime = checktime;
        }

        public String getScon() {
            return scon;
        }

        public void setScon(String scon) {
            this.scon = scon;
        }

        public int getIsvip() {
            return isvip;
        }

        public void setIsvip(int isvip) {
            this.isvip = isvip;
        }

        public int getFromtype() {
            return fromtype;
        }

        public void setFromtype(int fromtype) {
            this.fromtype = fromtype;
        }
    }

    public static class StepBean implements Serializable{
        /**
         * id : 4
         * taskid : 13
         * description : 测试步骤
         * imgs : /static/admin/uploads/usertask/20181226/ad96b1ecd47eacdb28bacffec51638bc.jpg,/static/admin/uploads/usertask/20181226/084f908f9f4c6d75c7d8656cfa467823.jpg
         * order : 1
         */

        private int id;
        private int taskid;
        private String description;
        private String imgs;
        private int order;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getTaskid() {
            return taskid;
        }

        public void setTaskid(int taskid) {
            this.taskid = taskid;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getImgs() {
            return imgs;
        }

        public void setImgs(String imgs) {
            this.imgs = imgs;
        }

        public int getOrder() {
            return order;
        }

        public void setOrder(int order) {
            this.order = order;
        }
    }
}
